import http from '@/http/http'
import { LoginParam, CodeParam } from '@/views/user/interface/interface'
enum Api {
  loginPC = '/manage/admin/userInfo/loginPC',
  sendCodePC = '/manage/admin/userInfo/sendCodePC'
}
//登录接口
export const loginPCApi = async (params: LoginParam) => {
  return await http.post(Api.loginPC, params)
}
//获取验证码
export const sendCodePC = async (params: CodeParam) => {
  return await http.post(Api.sendCodePC, params)
}